//
//  repayModel.m
//  掌上还
//
//  Created by 王晓民 on 2018/1/17.
//  Copyright © 2018年 中企互联. All rights reserved.
//

#import "repayModel.h"
#import "amountModel.h"
@implementation repayModel

+(id)groupWithDic:(NSDictionary *)dic
{
    return [[self alloc]initWithDic:dic];
}
-(id)initWithDic:(NSDictionary *)dic
{
    if (self = [super init])
    {
        [self setValuesForKeysWithDictionary:dic];
        NSMutableArray * array = [NSMutableArray new];
        for (NSDictionary * dic in self.Data)
        {
            amountModel * people = [amountModel friendWithDic:dic];
            [array addObject:people];
        }
        _Data = array;
        
    }
    return self;
}


@end
